fix(deps): replace snowflake-sql-api git URL with PyPI version pin#29
Conversation
PyPI rejects package metadata containing direct-URL (@ git+https) dependencies; this blocked the 1.4.0 publish with "400 Can't have direct dependency: snowflake-sql-api". snowflake-sql-api is now on PyPI (0.1.1), so pin it normally. Replace the git reference with snowflake-sql-api>=0.1.1,<0.2.0 in the snowflake and dev extras, across both setup.py and pyproject.toml (which had drifted: only pyproject's dev extra carried the git dep).
|
Warning Review limit reached
More reviews will be available in 25 minutes and 23 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
@ git+https) dependencies. This blocked the 1.4.0 publish: the build succeeded but upload returned400 Can't have direct dependency: snowflake-sql-api @ ..., so 1.4.0 (including the new[llm]helper) never reached PyPI.snowflake-sql-apiis now published on PyPI (0.1.1), so it can be pinned as a normal version requirement.snowflake-sql-api>=0.1.1,<0.2.0in thesnowflakeanddevextras, across bothsetup.pyandpyproject.toml. The two files had drifted (onlypyproject'sdevextra carried the git dep); they are consistent now.Context
This was a pre-existing packaging bug introduced with the
snowflakeextra (PR #27), not the LLM helper (PR #28). 1.3.3 had nosnowflakeextra, so it published fine; 1.4.0 was the first release to carry the direct-URL dep in its metadata. A new tag (1.4.1) is needed to re-attempt publish after this merges.Test plan
python -m buildsucceeds (wheel + sdist)twine check dist/*passesMETADATAhas no direct-URLRequires-Distentries; snowflake-sql-api showsRequires-Dist: snowflake-sql-api<0.2.0,>=0.1.1; extra == "snowflake"(anddev)